package com.sygc.rx20demo;

/**
 * Created by Administrator on 2017/7/20.
 */

public class AppInfo {

    /**
     * app_code : 22000
     * app_msg :
     * result : {"appname":"伴夏商城","merchant_id":1,"android_down_url":"","ios_down_url":"","ios_version":"","android_version":"","index_url":"","icon_image_url":"http://opbeh9tlb.bkt.clouddn.com/j3b4ud6o_4xx0642d0siw592d05689ed45.jpg","index_image_url":"http://opbeh9tlb.bkt.clouddn.com/j2tvspew_1nnxy67l522h591d1ab93546c.jpg","ios_download_image":"http://tea.api.test.sygcsoft.com/api/app/downloadImage?type=ios&merchant_id=1","android_download_image":"http://tea.api.test.sygcsoft.com/api/app/downloadImage?type=android&merchant_id=1"}
     */

    private int app_code;
    private String app_msg;
    private ResultBean result;

    public int getApp_code() {
        return app_code;
    }

    public void setApp_code(int app_code) {
        this.app_code = app_code;
    }

    public String getApp_msg() {
        return app_msg;
    }

    public void setApp_msg(String app_msg) {
        this.app_msg = app_msg;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    @Override
    public String toString() {
        return "AppInfo{" +
                "app_code=" + app_code +
                ", app_msg='" + app_msg + '\'' +
                ", result=" + result +
                '}';
    }

    public static class ResultBean {
        /**
         * appname : 伴夏商城
         * merchant_id : 1
         * android_down_url :
         * ios_down_url :
         * ios_version :
         * android_version :
         * index_url :
         * icon_image_url : http://opbeh9tlb.bkt.clouddn.com/j3b4ud6o_4xx0642d0siw592d05689ed45.jpg
         * index_image_url : http://opbeh9tlb.bkt.clouddn.com/j2tvspew_1nnxy67l522h591d1ab93546c.jpg
         * ios_download_image : http://tea.api.test.sygcsoft.com/api/app/downloadImage?type=ios&merchant_id=1
         * android_download_image : http://tea.api.test.sygcsoft.com/api/app/downloadImage?type=android&merchant_id=1
         */

        private String appname;
        private int merchant_id;
        private String android_down_url;
        private String ios_down_url;
        private String ios_version;
        private String android_version;
        private String index_url;
        private String icon_image_url;
        private String index_image_url;
        private String ios_download_image;
        private String android_download_image;

        @Override
        public String toString() {
            return "ResultBean{" +
                    "appname='" + appname + '\'' +
                    ", merchant_id=" + merchant_id +
                    ", android_down_url='" + android_down_url + '\'' +
                    ", ios_down_url='" + ios_down_url + '\'' +
                    ", ios_version='" + ios_version + '\'' +
                    ", android_version='" + android_version + '\'' +
                    ", index_url='" + index_url + '\'' +
                    ", icon_image_url='" + icon_image_url + '\'' +
                    ", index_image_url='" + index_image_url + '\'' +
                    ", ios_download_image='" + ios_download_image + '\'' +
                    ", android_download_image='" + android_download_image + '\'' +
                    '}';
        }

        public String getAppname() {
            return appname;
        }

        public void setAppname(String appname) {
            this.appname = appname;
        }

        public int getMerchant_id() {
            return merchant_id;
        }

        public void setMerchant_id(int merchant_id) {
            this.merchant_id = merchant_id;
        }

        public String getAndroid_down_url() {
            return android_down_url;
        }

        public void setAndroid_down_url(String android_down_url) {
            this.android_down_url = android_down_url;
        }

        public String getIos_down_url() {
            return ios_down_url;
        }

        public void setIos_down_url(String ios_down_url) {
            this.ios_down_url = ios_down_url;
        }

        public String getIos_version() {
            return ios_version;
        }

        public void setIos_version(String ios_version) {
            this.ios_version = ios_version;
        }

        public String getAndroid_version() {
            return android_version;
        }

        public void setAndroid_version(String android_version) {
            this.android_version = android_version;
        }

        public String getIndex_url() {
            return index_url;
        }

        public void setIndex_url(String index_url) {
            this.index_url = index_url;
        }

        public String getIcon_image_url() {
            return icon_image_url;
        }

        public void setIcon_image_url(String icon_image_url) {
            this.icon_image_url = icon_image_url;
        }

        public String getIndex_image_url() {
            return index_image_url;
        }

        public void setIndex_image_url(String index_image_url) {
            this.index_image_url = index_image_url;
        }

        public String getIos_download_image() {
            return ios_download_image;
        }

        public void setIos_download_image(String ios_download_image) {
            this.ios_download_image = ios_download_image;
        }

        public String getAndroid_download_image() {
            return android_download_image;
        }

        public void setAndroid_download_image(String android_download_image) {
            this.android_download_image = android_download_image;
        }
    }
}
